package net.doglog;

import javax.jdo.annotations.*;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Page {
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private String pattern;
	
	@Persistent
	private String location;
	
	public Page(String pattern, String location) {
		this.pattern = pattern;
		this.location = location;
	}
	
	public String getPattern() {
		return pattern;
	}
	
	public String getLocation() {
		return location;
	}
}